package cn.hx.whh.automaticticket.params;


import com.alibaba.fastjson.JSONObject;

public class CheckTicketResponse implements IBaseParams {

    public String intCheckNum;//"	验票人数": 0,
    public String operatorName;//  	操作员      "": "",
    public String strAreaName;//     票档   "": "",
    public String strCheckTime;//    	验票时间    "": 0,
    public String strScheduleName;//   	演出    "": "",
    public String strSeatInfo;//     	座位号   "": "",
    public String strShowTime;//     	演出时间   "": "",
    public String strStadiumName;//     	演播厅   "": "",
    public String ticketNo;//       	票号 "": "",
    public String ticktPrice;//      	票价  "": "",
    public int verifState;//       	核销状态（0：未核销。1：已核销。） "": 0


    @Override
    public void initParams(JSONObject data) {
        this.intCheckNum = data.getString("intCheckNum");
        this.operatorName = data.getString("operatorName");//
        this.strAreaName = data.getString("strAreaName");//;
        this.strCheckTime = data.getString("strCheckTime");//;
        this.strScheduleName = data.getString("strScheduleName");//;
        this.strSeatInfo = data.getString("strSeatInfo");//;
        this.strShowTime = data.getString("strShowTime");//;
        this.strStadiumName = data.getString("strStadiumName");//;
        this.ticketNo = data.getString("ticketNo");//;
        this.ticktPrice = data.getString("ticktPrice");//;
        this.verifState = data.getIntValue("verifState");
    }

    public String getIntCheckNum() {
        return intCheckNum;
    }

    public void setIntCheckNum(String intCheckNum) {
        this.intCheckNum = intCheckNum;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getStrAreaName() {
        return strAreaName;
    }

    public void setStrAreaName(String strAreaName) {
        this.strAreaName = strAreaName;
    }

    public String getStrCheckTime() {
        return strCheckTime;
    }

    public void setStrCheckTime(String strCheckTime) {
        this.strCheckTime = strCheckTime;
    }

    public String getStrScheduleName() {
        return strScheduleName;
    }

    public void setStrScheduleName(String strScheduleName) {
        this.strScheduleName = strScheduleName;
    }

    public String getStrSeatInfo() {
        return strSeatInfo;
    }

    public void setStrSeatInfo(String strSeatInfo) {
        this.strSeatInfo = strSeatInfo;
    }

    public String getStrShowTime() {
        return strShowTime;
    }

    public void setStrShowTime(String strShowTime) {
        this.strShowTime = strShowTime;
    }

    public String getStrStadiumName() {
        return strStadiumName;
    }

    public void setStrStadiumName(String strStadiumName) {
        this.strStadiumName = strStadiumName;
    }

    public String getTicketNo() {
        return ticketNo;
    }

    public void setTicketNo(String ticketNo) {
        this.ticketNo = ticketNo;
    }

    public String getTicktPrice() {
        return ticktPrice;
    }

    public void setTicktPrice(String ticktPrice) {
        this.ticktPrice = ticktPrice;
    }

    public int getVerifState() {
        return verifState;
    }

    public void setVerifState(int verifState) {
        this.verifState = verifState;
    }

    @Override
    public String toString() {
        return "{" +
                "intCheckNum='" + intCheckNum + '\'' +
                ", operatorName='" + operatorName + '\'' +
                ", strAreaName='" + strAreaName + '\'' +
                ", strCheckTime='" + strCheckTime + '\'' +
                ", strScheduleName='" + strScheduleName + '\'' +
                ", strSeatInfo='" + strSeatInfo + '\'' +
                ", strShowTime='" + strShowTime + '\'' +
                ", strStadiumName='" + strStadiumName + '\'' +
                ", ticketNo='" + ticketNo + '\'' +
                ", ticktPrice='" + ticktPrice + '\'' +
                ", verifState=" + verifState +
                '}';
    }
}
